import press from "@/assets/images/imageEdit/press.svg";
import graphic from "@/assets/images/imageEdit/graphic.svg";
import brush from "@/assets/images/imageEdit/brush.svg";
import segmentation from "@/assets/images/imageEdit/segmentation.svg";
import preset from "@/assets/images/imageEdit/preset.svg";

// Tab列表配置
export const TAB_LIST = [
  { key: 'ZT', title: '主体识别' },
  { key: 'FG', title: '风格参考' },
  { key: 'BY', title: '边缘轮廓' },
  { key: 'JS', title: '景深' },
  { key: 'RW', title: '任务姿势' }
];

// 上传组件配置
export const UPLOAD_CONFIG = {
  action: "/",
  accept: ".jpg,.jpeg,.png",
  draggable: true,
  showUploadList: false
};

// 菜单高度配置
export const MENU_HEIGHTS = {
  pic: { area: '353px', textArea: '360px' },
  multi: { area: '134px', textArea: '224px' },
  image: { area: '227px' },
  layer: { area: '243px' },
  default: { area: '', textArea: '' }
};

// 工具按钮配置
export const TOOL_BUTTONS = [
  { key: 'press', label: '点选', icon: 'press' },
  { key: 'graphic', label: '框选', icon: 'graphic' },
  { key: 'brush', label: '涂抹', icon: 'brush' },
  { key: 'segmentation', label: '文本分割', icon: 'segmentation' },
  { key: 'preset', label: '预设主体', icon: 'preset' },
];

// 图标映射
export const ICON_MAP = {
  press,
  graphic,
  brush,
  segmentation,
  preset
};

// 历史模态框项目数量
export const HISTORY_MODAL_ITEMS_COUNT = 11;

// 菜单类型常量
export const MENU_TYPES = {
  PIC: 'pic',
  MULTI: 'multi',
  IMAGE: 'image',
  LAYER: 'layer',
  TEXT: 'text'
};

// 上传类型常量
export const UPLOAD_TYPES = {
  SINGLE: 'single',
  ARRAY: 'array'
};